
module.exports = {
  lintOnSave: true,
 
  devServer: {
    proxy: {
      // proxy all requests starting with /api to jsonplaceholder
      '/hubu': {
        target: 'http://192.168.1.109:8001',   //代理接口
        changeOrigin: true,
        // pathRewrite: {
        //   '^/api': '/mock'    //代理的路径
        // }
      }
    }
  }
}